/**
 *
 * Do one thing at a time, and do well!
 * @author shensheng
 * 2014-11-14 上午10:56:14
 *
 */
package com.xidian.zhiancloud.util.constants;
/**
 * 系统调用参数key集中定义
 */
public class KeyConstants {
	/** 账户信息session key */
	public final static String SESSION_ACCOUNT_KEY = "session.account.key";
	
	/** 当前项目信息 session key */
	public final static String SESSION_PROJECT_KEY = "session.project.key";

	/** 账户菜单信息session key - 用于展示 */
	public final static String SESSION_MENU_KEY = "session.menu.key";
	
	
	/** 账户菜单MenuList信息session key - 用于展示 */
	public final static String SESSION_MENU_LIST_KEY = "session.menu.list.key";
	/** 账户菜单权限MenuAuthMap信息session key - 用于操作访问验证 */
	public final static String SESSION_MENU_AUTH_KEY = "session.menu.auth.key";

	/**短信下发的验证码 session key - 用于密码找回 */
	public final static String SESSION_CODE_KEY = "session.code.key";
	/**短信下发的验证码时间戳 session key - 用于密码找回 */
	public final static String SESSION_CODE_TIME_KEY = "session.code.time.key";


	/** 账户操作失败 */
	public final static int ACCOUNT_OP_FAIL = 1;
	/** 账户操作成功 */
	public final static int ACCOUNT_OP_SUCCESS = 0;
	/** 账户类型-管理员*/
	public final static int ACCOUNT_TYPE_ADMIN = 0;
	/** 账户类型-普通账号*/
	public final static int ACCOUNT_TYPE_SIMPLE = 1;
	/** 账号状态-启用*/
	public final static int ACCOUNT_STATUS_START = 0;
	/** 账号状态-禁用*/
	public final static int ACCOUNT_STATUS_STOP = 1;

	/** 操作标识 */
	public final static String OPERATE_FLAG = "flag.operate";
	/** 删除操作标识 */
	public final static String OPERATE_FLAG_DELETE = "flag.delete";
	/** 更新操作标识 */
	public final static String OPERATE_FLAG_UPDATA = "flag.update";
	/** 新增操作标识 */
	public final static String OPERATE_FLAG_ADD = "flag.add";
	/** 查询操作标识*/
	public final static String OPERATE_FLAG_QUERY = "flag.query";
	/**菜单显示标识 */
	public final static String MENU_SHOW_YES  = "0";
	/**菜单不显示标识 */
	public final static String MENU_SHOW_NO  = "1";
	/**顶级菜单ID-menuid */
	public final static String MENU_TOP_ID = "0";


}
